package cn.intotw.rdcj.task.service;

import cn.intotw.rdcj.task.bean.dto.BookContentBookQueryDto;
import cn.intotw.rdcj.task.bean.dto.BookListBookQueryDto;
import cn.intotw.rdcj.task.bean.dto.BookSectionsBookQueryDto;
import cn.intotw.rdcj.task.bean.vo.BookContentQueryVo;
import cn.intotw.rdcj.task.bean.vo.BookListQueryVo;
import cn.intotw.rdcj.core.compoment.IdWorkderCompoment;
import cn.intotw.rdcj.task.bean.vo.BookSectionsQueryVo;
import cn.intotw.rdcj.task.spiders.service.BookService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Chenxiang
 *
 * @generator: IntelliJ IDEA
 * @description:
 * @project: rdcj
 * @package: cn.intotw.rdcj.commodity.service
 * @date: 2020年05月06日 09时49分
 */
@Service("rdcjBookService")
@Slf4j
public class RdcjBookServiceImpl implements BookService {
    @Autowired
    @Qualifier("biqugeService")
    BookService biqugeService;
    @Autowired
    IdWorkderCompoment idWorkderCompoment;
    @Override
    public List<BookListQueryVo> queryBook(BookListBookQueryDto bookListQueryDto) throws Exception {
        return biqugeService.queryBook(bookListQueryDto);
    }

    @Override
    public List<BookSectionsQueryVo> querySections(BookSectionsBookQueryDto bookSectionsQueryDto) throws Exception {
        return biqugeService.querySections(bookSectionsQueryDto);
    }

    @Override
    public BookContentQueryVo queryContent(BookContentBookQueryDto bookContentQueryDto) {
        return null;
    }
}
